User Type List Adapter
Adapters provides a binding from a User set to views that are displayed within a RecyclerView.
Functions
Link copied to clipboard
Returns the total number of items in the data set held by the adapter.
Link copied to clipboard
Link copied to clipboard
Returns a callback to be invoked when the action view is clicked.
Link copied to clipboard
Returns a callback to be invoked when the itemView is clicked.
Link copied to clipboard
Returns a callback to be invoked when the itemView is clicked and held.
Link copied to clipboard
Returns a callback to be invoked when the profile view is clicked.
Link copied to clipboard
Returns whether the current user is operator or not.
Link copied to clipboard
open fun onBindViewHolder(@NonNull holder: BaseViewHolder<T>, position: Int)
Content copied to clipboard
Link copied to clipboard
open fun onCreateViewHolder(@NonNull parent: ViewGroup, viewType: Int): BaseViewHolder<T>
Content copied to clipboard
Link copied to clipboard
open fun setOnActionItemClickListener(@Nullable listener: OnItemClickListener<T>)
Content copied to clipboard
Register a callback to be invoked when the action view is clicked.
Link copied to clipboard
open fun setOnItemClickListener(@Nullable listener: OnItemClickListener<T>)
Content copied to clipboard
Register a callback to be invoked when the itemView is clicked.
Link copied to clipboard
open fun setOnItemLongClickListener(@Nullable listener: OnItemLongClickListener<T>)
Content copied to clipboard
Register a callback to be invoked when the itemView is clicked and held.
Link copied to clipboard
open fun setOnProfileClickListener(@Nullable profileClickListener: OnItemClickListener<T>)
Content copied to clipboard
Register a callback to be invoked when the profile view is clicked.